/*
 * PrintOrderLineRS.java
 *
 * Created on April 6, 2007, 11:29 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */

package edu.byu.isys413.jjenkins.data;

/**
 * This is the class which has setters and getters
 * @author uni
 */
public class PrintOrderLineRS extends RevenueSourceBO
{
    private double quantity = 0;
    private String description = null;
    private String print_format_guid = null;
    private String photo_set_guid = null;
    private double Price;
    private TransactionLineBO line = null;
    /** Creates a new instance of PrintOrderLineRS */
    public PrintOrderLineRS (String guid)
    {
        super.setId (guid);
    }

    /**
     * gets the quantity
     * @return quantity
     */
    public double getQuantity ()
    {
        return quantity;
    }

    /**
     * sets the quantity
     * @param quantity 
     */
    public void setQuantity (int quantity)
    {
        this.quantity = quantity;
    }

    /**
     * fgets the description
     * @return description
     */
    public String getDescription ()
    {
        return description;
    }

    /**
     * sets the description
     * @param description 
     */
    public void setDescription (String description)
    {
        this.description = description;
    }

    /**
     * gets the print format
     * @return Print format
     */
    public String getPrint_format_guid ()
    {
        return print_format_guid;
    }

    /**
     * sets the GUID
     * @param print_format_guid 
     */
    public void setPrint_format_guid (String print_format_guid)
    {
        this.print_format_guid = print_format_guid;
    }

    /**
     * gets the photo set GUID
     * @return id
     */
    public String getPhoto_set_guid ()
    {
        return photo_set_guid;
    }

    /**
     * sets the photo set
     * @param photo_set_guid 
     */
    public void setPhoto_set_guid (String photo_set_guid)
    {
        this.photo_set_guid = photo_set_guid;
    }
    
    /**
     * gets the line
     * @return line
     */
     public TransactionLineBO getLine() {
        return line;
    }

    /**
     * sets the line
     * @param line 
     */
    public void setLine(TransactionLineBO line) {
        this.line = line;
    }
    
    /**
     * calcualtes the price
     * @return price
     */
    public double calcPrice()
    {
        return Price;
    }
     
    /**
     * creates the description
     * @return description
     */
    public String createDescription()
    {
        return description;
    }
     


    
}
